A
<template>
<view class="cashier app-pages">
	<view class="cashier-title">
		<text>应付金额：</text>
		<text class="app-pirce-color">36.00元</text>A
	</view>
	<view class="cell">
		<u-radio-group 
		    v-model="value" placement="column"
		    iconPlacement="right" activeColor="#f74062">
			<view class="cell-item">
				<view class="cell-content">
					<u-icon name="rmb-circle" color="#666666" size="60rpx"></u-icon>
					<view class="cell-content-view">
						<view class="">餐卡支付</view>
						<view class="" style="font-size: 24rpx;margin-top: 4rpx;color:#666666;">余额：12.00</view>
					</view>
				</view>
				<u-radio label=" " name="1" :customStyle="{padding:'40rpx 0'}"></u-radio>
			</view>
			
			<view class="cell-item">
				<view class="cell-content">
					<u-icon name="weixin-fill" color="green" size="60rpx"></u-icon>
					<view class="cell-content-view">微信支付</view>
				</view>
				<u-radio label=" " name="2" :customStyle="{padding:'40rpx 0'}"></u-radio>
			</view>
		</u-radio-group>
		
		<!-- 对话框 -->
			<u-overlay :show="show" @click="show = false">
				<view class="warp">
					<view class="warp-content">
						<view class="warp-title">请输入支付密码</view>
						<view class="rect" @tap.stop>
							<u-code-input v-model="value3" :space="5" :maxlength="6"></u-code-input>
						</view>
						<view class="button" @click="show = true">
							<view class="submit">确定</view>
						</view>
					</view>
				</view>
			</u-overlay>
		
		<view class="button" @click="show = true">
			<view class="submit">确认支付</view>
		</view>
	</view>
</view>
</template>
<script>
	export default {
		name:'Cashier',
		data() {
			return {
				value: '1',
				value3: '',
				show: false
			}
		},
		methods: {},
	}
</script>
<style lang="scss" scoped>
	.cashier-title{
		padding: 50rpx 0;
		font-size: 28rpx;
	}
	.warp{
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		width: 100%;
		.warp-content{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			background-color: #FFFFFF;
			border-radius: 10rpx;
			width: 90%;
			height: 400rpx;
		}
		.warp-title{
			color: #666666;
			font-size: 28rpx;
		}
		.rect{
			margin: 50rpx 0;
		}
		.button{
			padding-top: 0 !important;
			width: 300rpx;
		}
	}
	.button {
		box-sizing: border-box;
		padding-top: 80rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		.submit {
			width: 100%;
			height: 80rpx;
			line-height: 80rpx;
			text-align: center;
			background-color: #f74062;
			border-radius: 10rpx;
			color: #FFFFFF;
		}
	}
	.cell{
		.cell-item{
			position: relative;
			&+.cell-item{
				border-top: 2rpx solid #f2f2f2;
			}
			.cell-content{
				position: absolute;
				top: 50%;
				left: 0;
				z-index: -1;
				transform: translate(0,-50%);
				display: flex;
				align-items: center;
				.cell-content-view{
					margin-left: 20rpx;
				}
			}
		}
	}
</style>